/**
 * 驱动公共配置
 */
var ConnectorConstantDatabase = "org.fastsyncer.connector.database.DatabaseConnector";
var ConnectorConstantLdap = "org.fastsyncer.connector.ldap.LdapConnector";
var ConnectorConstantWebService = "org.fastsyncer.connector.ws.WebServiceConnector";
var ConnectorConstantSourceWebService = "org.fastsyncer.connector.ws.SourceWebServiceConnector";
var ConnectorConstantTargetWebService = "org.fastsyncer.connector.ws.TargetWebServiceConnector";
var ConnectorConstantCsv = "org.fastsyncer.connector.csv.CsvConnector";

//驱动类型
var DriverConnectorConstant = {
	"org.fastsyncer.connector.database.DatabaseConnector" : {
		"url" : "/driver/page/driverAddDatabase",
		"icon" : "fa-database",
		"type" : "DataBase",
		"color":"text-danger"
	},
	"org.fastsyncer.connector.ldap.LdapConnector" : {
		"url" : "/driver/page/driverAddLdap",
		"icon" : "fa-address-book",
		"type" : "LDAP",
		"color":"text-info"
	},
	"org.fastsyncer.connector.ws.WebServiceConnector" : {
		"icon" : "fa-globe",
		"type" : "WebService",
		"color":"text-warning"
	},
	"org.fastsyncer.connector.ws.SourceWebServiceConnector" : {
		"url" : "/driver/page/driverAddSourceWebService"
	},
	"org.fastsyncer.connector.ws.TargetWebServiceConnector" : {
		"url" : "/driver/page/driverAddTargetWebService"
	},
	"org.fastsyncer.connector.csv.CsvConnector" : {
		"url" : "/driver/page/driverAddCsv",
		"icon" : "fa-address-book",
		"type" : "CSV",
		"color":"#3598DB"
	}
}

// 转换器默认预览文本
var DriverConvertPreviewText = '张?三';
//驱动条件表达式
var DriverOperType = {
	"equal" : "=",
	"notEqual" : "!=",
	"gt" : "&gt;",
	"lt" : "&lt;",
	"gtAndEqual" : "&gt;=",
	"ltAndEqual" : "&lt;="
}

//驱动条件表达式
var DriverConvertType = {
	"replace" : "替换",
	"prepend" : "追加前缀",
	"append" : "追加后缀"
}

//对话框
var BootstrapDialogTypes = [ BootstrapDialog.TYPE_DEFAULT,
		BootstrapDialog.TYPE_INFO, BootstrapDialog.TYPE_PRIMARY,
		BootstrapDialog.TYPE_SUCCESS, BootstrapDialog.TYPE_WARNING,
		BootstrapDialog.TYPE_DANGER ];

//咆哮弹窗
var BootstrapGrowlTypes = [ 'info', 'danger', 'success'];
